using System;
using System.Collections.Generic;
using System.Text;

namespace NetRosApp.Infrastructure.Interface.Base.BaseViews
{
    public interface IBaseEditorPresenter
    {
        void CreateNewEntity();

        bool SaveData();
        bool ZapisiData();
        bool ObrisiData();

        void OnCloseView();

        void ShowModalSearch(object EntityToSearch, Type SearcherClass, object Parameters);
        void ShowModalSearch(object EntityToSearch, Type SearcherClass, object Parameters, string pozvano);
        void OpenEditorNewOrEditinParent(object Entity);
        bool Changed { get;}
    }
}
